package com.kong.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.kong.common.annotation.Excel;
import com.kong.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 加油
 *
 * @author konglingfeng
 * @date 2025/11/1
 * @desc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AitVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Integer id;

    /** 姓名 */
    private String nickName;

    /** 关联 attendance_status.id */
    @Excel(name = "打卡状态 1 正常 2 迟到 3 早退 4 旷工")
    private Long status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上午打卡时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date morningPunch;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下午打卡时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date afternoonPunch;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "打卡日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordDate;



}
